fix(objectql): master_detail cascade delete + autonumber; app-showcase master-detail page#1601
Merged
Merged
Conversation
Adds showcase_project_workspace page rendering object-master-detail-form for showcase_project + showcase_task (master_detail), plus a nav entry. Verifies ObjectUI ADR-0001 master-detail subform end-to-end in the showcase. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
- delete now applies referential delete behavior for incoming relations: master_detail cascades (parent owns children; only explicit 'restrict' deviates), lookup honors deleteBehavior (default set_null). Recurses for grandchildren; depth-guarded. - insert now generates values for empty autonumber fields BEFORE required validation (max+1, seeded per object.field, honors autonumberFormat), so a required autonumber is never rejected as 'missing'. Verified end-to-end on app-showcase: showcase_project delete cascades to showcase_task; showcase_field_zoo.f_autonumber auto-populates. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
objectql engine fixes + app-showcase master-detail scenario.
objectql
restrictdeviates), lookup honors deleteBehavior (default set_null). Recurses; depth-guarded; single-id deletes.app-showcase
showcase_project_workspacepage (object-master-detail-form for showcase_project + showcase_task) + nav entry.Verification (browser/API vs running app-showcase)
Pairs with objectui PR (master-detail subform renderer).
🤖 Generated with Claude Code